package com.dy.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dy.entity.Cinema;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Auther: dy
 * @Date: 2022/4/16 - 04 - 16 - 13:06
 * @Description: com.dy.service
 * @version: 1.0
 */
@FeignClient(name = "cinemaFeign" , url = "127.0.0.1:8082/cinema")
public interface IFeignCinemaService {
    @GetMapping("/refreshCinema")
    public List<Cinema> refreshCinema();
}
